package baiwa.rta.model;

import com.opensymphony.xwork2.conversion.annotations.TypeConversion;

/**
 * 
 * @author Praijittra K.
 * @date 7 Mar 2014
 * 
 */
public class ManageProjectModel extends BaseModel {

	private static final long serialVersionUID = 4296771811123229839L;
	private int id;
	private int projectId;
	private int accSiteAccId;
	private String projectName;
	private String projectNickname;

	public ManageProjectModel(int id, int projectId, int accSiteAccId, String projectName, String projectNickname) {
		super();
		this.id = id;
		this.projectId = projectId;
		this.accSiteAccId = accSiteAccId;
		this.projectName = projectName;
		this.projectNickname = projectNickname;
	}

	public int getId() {
		return id;
	}
	@TypeConversion(converter = "baiwa.rta.converter.StringToIntConverter")
	public void setId(int id) {
		this.id = id;
	}

	public int getProjectId() {
		return projectId;
	}
	@TypeConversion(converter = "com.wise.rec.converter.StringToIntConverter")
	public void setProjectId(int projectId) {
		this.projectId = projectId;
	}

	public int getAccSiteAccId() {
		return accSiteAccId;
	}
	@TypeConversion(converter = "com.wise.rec.converter.StringToIntConverter")
	public void setAccSiteAccId(int accSiteAccId) {
		this.accSiteAccId = accSiteAccId;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getProjectNickname() {
		return projectNickname;
	}

	public void setProjectNickname(String projectNickname) {
		this.projectNickname = projectNickname;
	}

}
